import random


class NumberUtil:
    @staticmethod
    def random_decimal(left, right, precision: int):
        return round(random.uniform(left, right), precision)

    @staticmethod
    def random_int(left, right):
        return int(random.uniform(left, right))


if __name__ == '__main__':
    print(int(random.uniform(1, 10)))
